home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 0a | 50 61 74 68 3a 20 63 64 |.lang.c.|Path: cd|
|00000020| 66 2e 74 6f 72 6f 6e 74 | 6f 2e 65 64 75 21 6e 65 |f.toront|o.edu!ne|
|00000030| 77 73 0a 46 72 6f 6d 3a | 20 4c 75 62 65 6e 20 54 |ws.From:| Luben T|
|00000040| 75 69 6b 6f 76 20 3c 61 | 32 32 38 74 75 69 6b 3e |uikov <a|228tuik>|
|00000050| 0a 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 41 64 |.Subject|: Re: Ad|
|00000060| 64 69 6e 67 20 41 72 72 | 61 79 73 2c 20 61 6e 79 |ding Arr|ays, any|
|00000070| 6f 6e 65 3f 0a 43 6f 6e | 74 65 6e 74 2d 54 79 70 |one?.Con|tent-Typ|
|00000080| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|00000090| 68 61 72 73 65 74 3d 75 | 73 2d 61 73 63 69 69 0a |harset=u|s-ascii.|
|000000a0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 44 4c 73 |Message-|ID: <DLs|
|000000b0| 75 45 38 2e 4c 38 70 40 | 63 64 66 2e 74 6f 72 6f |uE8.L8p@|cdf.toro|
|000000c0| 6e 74 6f 2e 65 64 75 3e | 0a 54 6f 3a 20 77 61 72 |nto.edu>|.To: war|
|000000d0| 72 65 6e 72 6b 40 66 61 | 6c 63 6f 6e 2e 6a 6d 75 |renrk@fa|lcon.jmu|
|000000e0| 2e 65 64 75 0a 53 65 6e | 64 65 72 3a 20 6e 65 77 |.edu.Sen|der: new|
|000000f0| 73 40 63 64 66 2e 74 6f | 72 6f 6e 74 6f 2e 65 64 |s@cdf.to|ronto.ed|
|00000100| 75 20 28 55 73 65 6e 65 | 74 20 4e 65 77 73 29 0a |u (Usene|t News).|
|00000110| 4e 6e 74 70 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |Nntp-Pos|ting-Hos|
|00000120| 74 3a 20 61 6d 65 74 68 | 79 73 74 0a 43 6f 6e 74 |t: ameth|yst.Cont|
|00000130| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|00000140| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 4f 72 67 61 |oding: 7|bit.Orga|
|00000150| 6e 69 7a 61 74 69 6f 6e | 3a 20 43 6f 6d 70 75 74 |nization|: Comput|
|00000160| 69 6e 67 20 44 69 73 63 | 69 70 6c 69 6e 65 73 20 |ing Disc|iplines |
|00000170| 46 61 63 69 6c 69 74 79 | 2c 20 55 6e 69 76 65 72 |Facility|, Univer|
|00000180| 73 69 74 79 20 6f 66 20 | 54 6f 72 6f 6e 74 6f 0a |sity of |Toronto.|
|00000190| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 65 36 |Referenc|es: <4e6|
|000001a0| 67 70 6d 24 64 66 62 40 | 64 6f 63 2e 6a 6d 75 2e |gpm$dfb@|doc.jmu.|
|000001b0| 65 64 75 3e 0a 4d 69 6d | 65 2d 56 65 72 73 69 6f |edu>.Mim|e-Versio|
|000001c0| 6e 3a 20 31 2e 30 0a 44 | 61 74 65 3a 20 46 72 69 |n: 1.0.D|ate: Fri|
|000001d0| 2c 20 32 36 20 4a 61 6e | 20 31 39 39 36 20 31 37 |, 26 Jan| 1996 17|
|000001e0| 3a 33 39 3a 34 30 20 47 | 4d 54 0a 58 2d 4d 61 69 |:39:40 G|MT.X-Mai|
|000001f0| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 31 |ler: Moz|illa 1.1|
|00000200| 4e 20 28 58 31 31 3b 20 | 49 3b 20 53 75 6e 4f 53 |N (X11; |I; SunOS|
|00000210| 20 35 2e 33 20 73 75 6e | 34 63 29 0a 58 2d 55 72 | 5.3 sun|4c).X-Ur|
|00000220| 6c 3a 20 6e 65 77 73 3a | 34 65 36 67 70 6d 24 64 |l: news:|4e6gpm$d|
|00000230| 66 62 40 64 6f 63 2e 6a | 6d 75 2e 65 64 75 0a 0a |fb@doc.j|mu.edu..|
|00000240| 77 61 72 72 65 6e 72 6b | 40 66 61 6c 63 6f 6e 2e |warrenrk|@falcon.|
|00000250| 6a 6d 75 2e 65 64 75 20 | 28 52 61 63 68 65 6c 20 |jmu.edu |(Rachel |
|00000260| 4b 2e 20 57 61 72 72 65 | 6e 29 20 77 72 6f 74 65 |K. Warre|n) wrote|
|00000270| 3a 0a 3e 43 6f 75 6c 64 | 20 73 6f 6d 65 62 6f 64 |:.>Could| somebod|
|00000280| 79 20 67 69 76 65 20 6d | 65 20 61 6e 20 65 78 61 |y give m|e an exa|
|00000290| 6d 70 6c 65 20 6f 66 20 | 61 64 64 69 6e 67 20 74 |mple of |adding t|
|000002a0| 77 6f 20 61 72 72 61 79 | 73 20 74 6f 67 65 74 68 |wo array|s togeth|
|000002b0| 65 72 3f 0a 3e 53 61 79 | 20 74 68 65 20 66 69 72 |er?.>Say| the fir|
|000002c0| 73 74 20 61 72 72 61 79 | 20 68 61 73 20 66 6f 75 |st array| has fou|
|000002d0| 72 20 6d 61 69 6c 62 6f | 78 65 73 20 77 69 74 68 |r mailbo|xes with|
|000002e0| 20 22 31 22 20 69 6e 20 | 69 74 20 74 6f 2c 20 73 | "1" in |it to, s|
|000002f0| 6f 20 77 68 65 6e 20 79 | 6f 75 20 0a 3e 70 72 69 |o when y|ou .>pri|
|00000300| 6e 74 20 69 74 20 6f 75 | 74 20 69 74 73 2c 22 31 |nt it ou|t its,"1|
|00000310| 31 31 31 22 20 61 6e 64 | 20 74 68 65 20 73 65 63 |111" and| the sec|
|00000320| 6f 6e 64 20 61 72 72 61 | 79 20 68 61 73 20 66 6f |ond arra|y has fo|
|00000330| 75 72 20 6d 61 69 6c 62 | 6f 78 65 73 20 77 69 74 |ur mailb|oxes wit|
|00000340| 68 20 74 68 65 20 0a 3e | 6e 75 6d 62 65 72 20 22 |h the .>|number "|
|00000350| 32 22 20 69 6e 20 69 74 | 2c 20 73 6f 20 74 68 61 |2" in it|, so tha|
|00000360| 74 20 79 6f 75 20 70 72 | 69 6e 74 20 69 74 20 6f |t you pr|int it o|
|00000370| 75 74 20 61 6e 64 20 69 | 74 73 20 22 32 32 32 32 |ut and i|ts "2222|
|00000380| 22 2c 20 73 6f 20 49 20 | 63 6f 75 6c 64 20 67 65 |", so I |could ge|
|00000390| 74 20 0a 3e 22 33 33 33 | 33 22 3f 0a 3e 0a 3e 49 |t .>"333|3"?.>.>I|
|000003a0| 20 74 72 69 65 64 20 73 | 6f 6d 65 74 68 69 6e 67 | tried s|omething|
|000003b0| 20 6c 69 6b 65 0a 3e 0a | 3e 66 6f 72 28 63 6f 75 | like.>.|>for(cou|
|000003c0| 6e 74 65 72 20 3d 30 20 | 3b 20 63 6f 75 6e 74 65 |nter =0 |; counte|
|000003d0| 72 20 21 3d 20 27 5c 30 | 27 3b 20 63 6f 75 6e 74 |r != '\0|'; count|
|000003e0| 65 72 2b 2b 29 0a 3e 20 | 70 72 69 6e 74 66 28 22 |er++).> |printf("|
|000003f0| 25 63 22 2c 73 74 72 69 | 6e 67 31 5b 63 6f 75 6e |%c",stri|ng1[coun|
|00000400| 74 65 72 5d 20 2b 20 73 | 74 72 69 6e 67 32 5b 63 |ter] + s|tring2[c|
|00000410| 6f 75 6e 74 65 72 5d 0a | 3e 0a 3e 61 6e 64 20 49 |ounter].|>.>and I|
|00000420| 20 67 6f 74 20 61 20 62 | 75 6e 63 68 20 6f 66 20 | got a b|unch of |
|00000430| 67 61 72 62 61 67 65 20 | 6f 6e 20 74 68 65 20 73 |garbage |on the s|
|00000440| 63 72 65 65 6e 2e 0a 3e | 0a 3e 0a 54 72 79 20 74 |creen..>|.>.Try t|
|00000450| 6f 20 63 6f 6e 76 65 72 | 74 20 74 68 65 20 63 68 |o conver|t the ch|
|00000460| 61 72 20 79 6f 75 20 67 | 65 74 20 66 72 6f 6d 20 |ar you g|et from |
|00000470| 74 68 65 20 61 72 72 61 | 79 20 6f 66 20 63 68 61 |the arra|y of cha|
|00000480| 72 73 0a 74 6f 20 61 6e | 20 69 6e 74 65 67 65 72 |rs.to an| integer|
|00000490| 20 76 61 6c 75 65 2e 20 | 55 73 65 20 61 74 6f 69 | value. |Use atoi|
|000004a0| 28 73 74 72 69 6e 67 31 | 5b 63 6f 75 6e 74 5d 29 |(string1|[count])|
|000004b0| 2c 20 74 68 61 74 20 77 | 6f 75 6c 64 20 72 65 74 |, that w|ould ret|
|000004c0| 75 72 6e 20 61 6e 20 69 | 6e 74 65 67 65 72 2e 0a |urn an i|nteger..|
|000004d0| 61 64 64 20 69 74 20 77 | 69 74 68 20 61 6e 6f 74 |add it w|ith anot|
|000004e0| 68 65 72 20 6f 6e 65 2e | 20 54 68 65 6e 20 63 6f |her one.| Then co|
|000004f0| 6e 76 65 72 74 20 69 74 | 20 74 6f 20 63 68 61 72 |nvert it| to char|
|00000500| 20 75 73 69 6e 67 20 69 | 74 6f 61 28 61 6e 20 69 | using i|toa(an i|
|00000510| 6e 74 65 67 65 72 20 76 | 61 6c 75 65 29 2c 0a 61 |nteger v|alue),.a|
|00000520| 6c 73 6f 20 74 68 65 20 | 66 6f 72 20 67 6f 65 73 |lso the |for goes|
|00000530| 20 6c 69 6b 65 20 74 68 | 61 74 20 3a 20 66 6f 72 | like th|at : for|
|00000540| 20 28 2e 2e 3b 20 63 6f | 75 6e 74 65 72 20 3c 20 | (..; co|unter < |
|00000550| 53 49 5a 45 20 4f 46 20 | 41 52 52 41 59 3b 2e 2e |SIZE OF |ARRAY;..|
|00000560| 29 0a 0a | |).. | |
+--------+-------------------------+-------------------------+--------+--------+